@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* css boiler plate code */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
}

.hero {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

nav {
    min-width: 100vw;
    height: 14vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F6F6FA;
    border-bottom: 2px solid #5d5d5d84;
    z-index: 1000;
}

.hero nav img {
    max-width: 11vw;
    transition: all 0.7s ease;
}

.hero nav img:hover {
    transform: scale(0.7);
}


nav ul .menu{
    display: flex;
    align-items: center;
    list-style: none;
}

nav ul .menu li {
    margin: 10px 15px;
}

nav ul .menu li .afterwards,nav ul .menu li .afterwards1{
    display: none;
}

nav ul .menu li a {
    text-decoration: none;
    color: black;
    margin-right: 15px;
    font-weight: bold;
    position: relative;
    font-size: 1rem;
}

nav ul .menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 0.3vh;
    left: 0;
}

nav ul .menu li a:hover::after {
    animation-name: listani;
    animation-duration: 1s;
    background-image: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

@keyframes listani {
    0% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

.btn, .login-btn {
    color: black;
    text-decoration: none;
    padding: 15px 20px;
    background-color: white;
    border-radius: 30px;
    margin-right: 15vh;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 0;
    transition: all 0.4s;
    font-weight: bold;
    box-shadow: 1px 1px 6px 2px rgba(0, 0, 0, 0.201);
}
.login-btn{
    margin-right: 5vh;
}

.btn::before, .login-btn::before {
    content: "";
    position: absolute;
    height: 112%;
    width: 104%;
    border-radius: 30px;
    background-image: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
    transform: translateX(-100%);
    transition: all 0.4s;
    z-index: -1;
}

.btn:hover::before, .login-btn:hover::before {
    transform: translateX(0%);
}

.btn:hover, .login-btn:hover {
    color: white;
    font-weight: 700;
    box-shadow: 1px 1px 6px 2px rgba(255, 0, 0, 0.753);
}

.open-menu, .menu .close-menu {
    position: absolute;
    color: black;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
  }

  .open-menu {
    top: 30%;
    right: 40px;
    transform: translateY(5%);
  }

  .menu .close-menu {
    top: 30%;
    right: 40px;
    transform: translateY(5%);
  }

  #check {
    display: none;
  }

  
